package com.gitee.deament.server.core.data;

import com.gitee.deament.server.core.data.datatype.Value;

import java.io.Serializable;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;

/**
 * 数据库数据
 * @author  deament
 */
public class DBInnerData implements Serializable {
    /**
     * 索引
     */
    private int index;
    private volatile ConcurrentHashMap<String, Value<?>> data=new ConcurrentHashMap<>();

    public DBInnerData(int index){
        this.index=index;
    }

    public ConcurrentHashMap<String, Value<?>> getData() {
        return data;
    }

    public void setData(ConcurrentHashMap<String, Value<?>> data) {
        this.data = data;
    }




}
